package com.ruoyi.business.domain.fission;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 群裂变场景表
 * </p>
 *
 * @author
 * @since 2023-xx-xx
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_wecom_chat_group_fission_scene")
@ApiModel("群裂变活动场景值信息表")
public class TbWecomChatGroupFissionScene extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 场景值主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 渠道名称
     */
    @TableField("name")
    private String name;

    /**
     * 1:管理员分享活动场景 2：用户分享活动场景
     */
    @TableField("type")
    private Integer type;

    /**
     * 群裂变活动id
     */
    @TableField("fission_id")
    private Long fissionId;

    /**
     * 小程序用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 场景值
     */
    @TableField("scene")
    private String scene;


    /**
     * 分享小程序二维码图片地址
     */
    @TableField("qr_code_url")
    private String qrCodeUrl;

}
